home *** CD-ROM | disk | FTP | other *** search
- VARLINT(Local) 'C' Utility VARLINT(Local)
-
- SYNOPSIS
- varlint <program name> ... <program name>
-
- HISTORY
-
- This program was developed under Lattice C on an Atari 520 ST. It
- is compatable with (and tested on) DEC 11/70 and AT&T 3B5 processors,
- running SYS V, and earlier versions too. There is no reason that it
- won't compile on any system.
-
- USAGE
-
- This program is designed to assist when coding in C. It double checks
- your syntax for those funtions that have a variable number of arguments,
- and use the same syntax as printf / scanf.
-
- WHEN TO USE IT
-
- If your program passes lint, and it compiles ok, but crashes any-way,
- or doesn't quite work right, try varlint.
-
- Mistakes with scanf or printf are one of the most frequent causes of
- intermittant crashes. "Lint" does not check the syntax, and neither
- do most of the compilers.
-
- CAPABILITIES:
-
- This program will detect and print out the following conditions.
-
- 1) More arguments following the control string than there are
- percent signs in the control string.
- 2) Too many arguments as compared to the control string.
- 3) Mis-matches between the argument type and the item in
- the control string.
- 4) Null control string.
- 5) Unknown specifiers after a percent sign in a control string.
- 6) Missing ampersands (&) in front of numbers. (scan functions)
- 7) Will not complain about valid uses. (allows funtion calls as
- arguments, strings as *chars, etc.
-
- RESTRICTIONS:
-
- 1) It does not yet check to ensure that the variables you name
- are indeed the type you claim.
- 2) The use of a character array is allowed by the scanf / printf
- functions, but is not yet verified by the program. You
- are notified of "un-recognized contstruct" in these cases.
-
- LICENSE:
-
- Copyright 1988 by Daniel B. Suthers, Concord, California, USA.
- License is granted to distribute this program at will, as long as
- the source is also provided free of charge to anyone who
- receives the binaries, or any one who wants it,
- AND all copyright notices are left intact.
-
-
-